package com.smec.moblie.common;

/**
 * 公共常量
 */
public interface ConstValue {

    /************************** 接口地址 **************************/
    /****
     * 登入接口
     ****/
    String Wsdl_CheckUsernameAndPassword = "http://bpmpublic.smec-cn.com:8011/OpenService/LoginValidateServicePS?WSDL";
    /**** 数据接口 ****/
    /***
     * 正式环境
     ***/
    String LOGIN_URL = "http://bpmpublic.smec-cn.com:8011/CommonService/SmecAuthorizationService";//登入接口地址
    String clobdata = "http://bpmpublic.smec-cn.com:8011/OpenService/GetClobDataByTypeOpenPS?WSDL";
    String data = "http://bpmpublic.smec-cn.com:8011/OpenService/RemesMobileGetDataByTypePS?wsdl";
    String UPDATETAKEPHOTOS = "http://bpmpublic.smec-cn.com:8011/OpenService/GetDataByTypePS?WSDL";
    String SERVER_BASE_PATH = "http://wc.smec-cn.com:10002/SmecMobileWebService/";//正式环境内外网
    String APP_ASKACTION_SERVICE_URL = "http://bpmpublic.smec-cn.com:8011/DFStageAux/appAskAction/appAskActionService";//查询是否需要弹出调查问卷
    String CRASHUPLOADPATH2 = "http://bpmpublic.smec-cn.com:8011/DFStageAux/appCrashReport/appCrashReportService";//报错日志2
    String QUERY_CONTENT_LIST_SERVICE_URL = "http://bpmpublic.smec-cn.com:8011/Maintainance/tech/queryContentList/queryContentListService";//个性化保养作业--获取待办/历史记录列表
    String GET_ITEM_DETAILS_SERVICE_URL = "http://bpmpublic.smec-cn.com:8011/Maintainance/tech/getItemDetails/getItemDetailsService";//获取保养作业详情
    String SUBMIT_FEEDBACK_SERVICE_URL = "http://bpmpublic.smec-cn.com:8011/Maintainance/tech/submitFeedback/submitFeedbackService";//个性化保养-提交反馈项

    /***
     * 测试环境
     ***/
//    String LOGIN_URL = "http://bpmpublic.smec-cn.com:8011/CommonService/SmecAuthorizationServiceDev";//登入接口地址
//    String APP_ASKACTION_SERVICE_URL = "http://bpmdev.smec-cn.com:8011/DFStageAux/appAskAction/appAskActionService";//查询是否需要弹出调查问卷
//    String SERVER_BASE_PATH = "http://wcdev.smec-cn.com:8888/SmecMobileWebService/";//测试环境内网
//    String clobdata = "http://bpmdev.smec-cn.com:8011/Inst_Service/ProxyServices/GetClobDataByTypePS?wsdl";
//    String data = "http://bpmpublic.smec-cn.com:8011/Msis_Services/ProxyServices/GetDataByTypeServicePS?WSDL";
//    String UPDATETAKEPHOTOS = "http://bpmdev.smec-cn.com:8011/Inst_Service/ProxyServices/GetDataByTypePS?wsdl";
//    String CRASHUPLOADPATH2 = "http://bpmdev.smec-cn.com:8011/DFStageAux/appCrashReport/appCrashReportService";//报错日志2
//    String QUERY_CONTENT_LIST_SERVICE_URL = "http://bpmdev.smec-cn.com:8011/Maintainance/tech/queryContentList/queryContentListService";//个性化保养作业--获取待办/历史记录列表
//    String GET_ITEM_DETAILS_SERVICE_URL = "http://bpmdev.smec-cn.com:8011/Maintainance/tech/getItemDetails/getItemDetailsService";//获取保养作业详情
//    String SUBMIT_FEEDBACK_SERVICE_URL = "http://bpmdev.smec-cn.com:8011/Maintainance/tech/submitFeedback/submitFeedbackService";//个性化保养-提交反馈项


    /************************** 常量 **************************/
    /****
     * 停止显示刷新
     ****/
    public static final int STOP_REFRESH = 100010;
    /****
     * 提示：数据刷新成功
     ****/
    public static final int TOASTMES1 = 100011;
    public static final int INITDATA = 100012;

    public static final int ERR_BPM_WS = 100013;
    public static final int INFO_SUCCEED = 100014;
    public static final int ERR_SUP_SYNC_IN_CTRL = 100015;

    // 自定义订单状态
    public final static int ORDER_STARTOFF = 20001;// 开始出发
    public final static int ORDER_ARRIVE = 20002;// 到达现场
    public final static int ORDER_SUBMITINFORMATION = 20003;//提交信息
    public final static int ORDER_SUBMIT_WITHOUT_IMAGE = 20004;//上传工单照
    public final static int ORDER_STATION_REJECT = 20005;//驳回
    public final static int ORDER_FINISH = 20006;//已完成
    public final static int MY_PERMISSIONS_REQUEST_WRITE_EXTERNAL_STORAGE = 1;
    public final static int MY_PERMISSIONS_REQUEST_CAMERA = 2;
    public final static int MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION = 3;
    public final static int MY_PERMISSIONS_REQUEST_READ_PHONE_STATE = 4;
    public final static int REQUEST_PERMISSION_SETTING = 20007;

    /**************************
     * 照片上传相关
     **************************/
    public final static String PICTUREPATH = "/DCIM/SmecRemesMobile";

    /**************************
     * 其他通用数据
     **************************/
    public final static int ELECTRONICFENCECODE = 9005;//电子围栏
    public final static int CAMERA_DANGBAN = 9006;//挡板
    public final static int CAMERA_FEEDBACK_ADD = 9007;//新增作业项照片
    public final static int CAMERA_FEEDBACK_RESHOT = 10000;//更改照片
    public final static int DATE_FROM = -2;//获取数据时间from
    public final static int DATE_TO = 2;//获取数据时间to
    public final static String NOT_ARRIVED = "NOT_ARRIVED";//未到达电子围栏
    public final static String ARRIVED = "ARRIVED";//已达电子围栏
    public final static String NO_COORDINATE = "NO_ELE_LOCATION";//没有项目坐标
    public final static String BYNO = "BYNO";//技术通知单选择了按编号归类
    public final static String BYCUSTOMER = "BYCUSTOMER";//技术通知单选择了按客户归类
    public final static String ALL = "ALL";//技术通知单选择全部

    public static String TOKEN = "DF_KEY";
    public static String TRACE = "DF_TRACE";
    public static final String SUCCESS = "SUCCESS";//成功

    public static final String DATE = "DATE";//选择日期
    public static final String TEXT = "TEXT";//文字填写
    public static final String IMAGE = "IMAGE";//拍照
    public static final String LIST = "LIST";//下拉选择

    public static final String COMPLETED = "COMPLETED";//已完成
    public static final String UNCOMPLETED = "UNCOMPLETED";//未完成

    public static final String ADDString = "ADD";//下拉选择
}
